/**
 The routing of this file will not show the layout.
 It is an independent new page.
 the contents of the file still need to log in to access
 */
import type { AppRouteModule } from '/@/router/types';

// test
// http:ip:port/main-out
export const mainOutRoutes: AppRouteModule[] = [
  {
    path: '/website',
    name: 'Website',
    component: () => import('/@/views/main-out/website/index.vue'),
    meta: {
      title: '微官网',
      ignoreAuth: true,
    },
  },
  {
    path: '/goods',
    name: 'Goods',
    component: () => import('/@/views/main-out/goods/index.vue'),
    meta: {
      title: '推荐',
      ignoreAuth: true,
    },
  },
  {
    path: '/center',
    name: 'Center',
    component: () => import('/@/views/main-out/goods/center/index.vue'),
    meta: {
      title: '个人中心',
      ignoreAuth: true,
    },
  },
];

export const mainOutRouteNames = mainOutRoutes.map((item) => item.name);
